#!/bin/bash

if [ $# != 2 ]
then
    echo "Uasge: $0 [old_name] [new_name]"
else
    sed -i "s/$1/$2/g" `grep "$1" ./ -rlI --include=*{.c,.h,Makefile,insmod.sh,rmmod.sh}`
fi
